package com.ruoyi.etp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 团队分析对象 etp_organization_stats
 * 
 * @author xmj
 * @date 2025-09-12
 */
public class EtpOrganizationStats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private Long deptId;

    /** 员工数 */
    @Excel(name = "员工数")
    private Long employeeCount;

    /** 客户数 */
    @Excel(name = "客户数")
    private Long customerCount;

    /** 录音数 */
    @Excel(name = "录音数")
    private Long recordingCount;

    /** 有效录音数 */
    @Excel(name = "有效录音数")
    private Long validRecordingCount;

    /** 工牌使用率 */
    @Excel(name = "工牌使用率")
    private String badgeUsageRate;

    /** 服务平均分 */
    @Excel(name = "服务平均分")
    private Long avgServiceScore;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setEmployeeCount(Long employeeCount) 
    {
        this.employeeCount = employeeCount;
    }

    public Long getEmployeeCount() 
    {
        return employeeCount;
    }

    public void setCustomerCount(Long customerCount) 
    {
        this.customerCount = customerCount;
    }

    public Long getCustomerCount() 
    {
        return customerCount;
    }

    public void setRecordingCount(Long recordingCount) 
    {
        this.recordingCount = recordingCount;
    }

    public Long getRecordingCount() 
    {
        return recordingCount;
    }

    public void setValidRecordingCount(Long validRecordingCount) 
    {
        this.validRecordingCount = validRecordingCount;
    }

    public Long getValidRecordingCount() 
    {
        return validRecordingCount;
    }

    public void setBadgeUsageRate(String badgeUsageRate) 
    {
        this.badgeUsageRate = badgeUsageRate;
    }

    public String getBadgeUsageRate() 
    {
        return badgeUsageRate;
    }

    public void setAvgServiceScore(Long avgServiceScore) 
    {
        this.avgServiceScore = avgServiceScore;
    }

    public Long getAvgServiceScore() 
    {
        return avgServiceScore;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("employeeCount", getEmployeeCount())
            .append("customerCount", getCustomerCount())
            .append("recordingCount", getRecordingCount())
            .append("validRecordingCount", getValidRecordingCount())
            .append("badgeUsageRate", getBadgeUsageRate())
            .append("avgServiceScore", getAvgServiceScore())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
